package com.quanyan.club.mapper;

import com.quanyan.club.entity.db.TbClubAnnouncement;
import com.quanyan.club.entity.db.TbClubAnnouncementExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbClubAnnouncementMapper {
    int countByExample(TbClubAnnouncementExample example);

    int deleteByExample(TbClubAnnouncementExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbClubAnnouncement record);

    int insertSelective(TbClubAnnouncement record);

    List<TbClubAnnouncement> selectByExample(TbClubAnnouncementExample example);

    TbClubAnnouncement selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbClubAnnouncement record, @Param("example") TbClubAnnouncementExample example);

    int updateByExample(@Param("record") TbClubAnnouncement record, @Param("example") TbClubAnnouncementExample example);

    int updateByPrimaryKeySelective(TbClubAnnouncement record);

    int updateByPrimaryKey(TbClubAnnouncement record);
}